import {ObjectDto, ObjectDtoInterface} from "../../services/sqliteDB/object.dto";
import { TableColumnType } from "../../services/sqliteDB/object.dto";
import {SyncStatus} from "../sync-status";

export class UserFeatureDto extends ObjectDto implements ObjectDtoInterface {

    public markNo: string = null; // 特征id
    public markName: string = null; // 特征名
    public markTypeCode: string = null; // 标签类型id
    public markTypeName: string = null; // 标签类型名
    public syncStatus: SyncStatus = SyncStatus.None;
    constructor() {
        super();

    }

    table() {
        return {
            tableName: "UserFeatureTable", 
            tableConstructor: {
                markNo: `${TableColumnType.text}`,
                markName: TableColumnType.text,
                markTypeCode: TableColumnType.text,
                markTypeName: TableColumnType.text,
                syncStatus: TableColumnType.int
            }
        };
    }

}



